def load_classname_classes(file_path):
    idx2class = {}  # 映射字典
    lines = open(file_path, "r").readlines()
    for line in enumerate(lines):
        key, value = line
        idx2class[key] = value.strip()
    return idx2class


